﻿/*
 * Jonathan
 * Created by: Jonathan Montiverdi
 * Date: 6/13/2012
 * License: http://jonathan.codeplex.com/license
 */
using Awesomium.Core;
using Jonathan.Logic.Services;
using Monti.MVVM.Services;

namespace Jonathan
{
   /// <summary>
   /// Interaction logic for App.xaml
   /// </summary>
   public partial class App
   {
      /// <summary>
      /// Occurs when the application is starting up.
      /// </summary>
      /// <param name="sender">Application.</param>
      /// <param name="e">System.Windows.StartupEventArgs</param>
      void Application_Startup(object sender, System.Windows.StartupEventArgs e)
      {
         // For Debugging purposes...
         //WebCore.Initialize (new WebCoreConfig { LogLevel = LogLevel.Verbose });
         ServiceManager.Register <IMessageBoxService, MessageBoxService> ();
         ServiceManager.Register <ISaveFileService, SaveFileService> ();
         ServiceManager.Register <IOpenFileService, OpenFileService> ();
         ServiceManager.Register <IWikiConverterService, WikiConverterService> ();
      }
   }
}
